<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="{url('admin/default/welcome')}">开始</a> / 
    <a href="javascript:void(0);">维修检验</a>
</div>
<form id="form" action="{url('outwarehouse/logs')}" method="post">
<div class="table-search fn-clear">
<ul>
<li>
    <span class="fn-tar">IMEI号:</span>
    <span class="sinput"><input class="input" type="text" name="imei" value="{$imei}" /></span>
</li>
<li>
    <span class="fn-tar">门店号:</span>
    <span class="sinput">
<select class="select" name="supplier_id">
    <option value="" selected="selected"></option>
{loop $supplier_lists $vo} 
    <option value="{$vo['id']}" {if $supplier_id ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
    </span>
</li>
<li>
    <span class="fn-tar">跟踪号:</span>
    <span class="sinput"><input class="input" type="text" name="number" value="{$number}" /></span>
</li>
<li>  
    <span class="fn-tar">产品名称:</span>
    <span class="sinput"><input class="input" type="text" name="mobile_name" value="{$mobile_name}" /></span>
</li>
<li>
    <span class="fn-tar">出库时间起:</span>
    <span class="sinput"><input class="input ui-date" type="text" name="start_time" value="{$start_time}" /></span>
</li>
<li>
    <span class="fn-tar">出库时间起:</span>
    <span class="sinput"><input class="input ui-date" type="text" name="end_time" value="{$end_time}" /></span>
</li>
<li><input type="submit" value="开始查找手机" class="button button-green submit" /></li>
</div>
</form>
<div class="m10">
<table class="table table-border">
<thead>
    <tr>
        <th class="fn-tac w100">跟踪号</th>
        <th class="fn-tac w100">门店号</th>
        <th class="fn-tac w40">保内</th>
        <th class="fn-tac w100">IMEI号</th>
        <th>产品名称</th>
        <th class="fn-tac w100">发货员</th>
        <th class="fn-tac w120">发货单号</th>
        <th>收获地址</th>
        <th class="fn-tac w140">出库时间</th>
    </tr>
</thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac"><a title="手机入库单详情" href="javascript:void(0);" url="{url('mobile/reads',array(id=>$vo['id']))}" class="win">{$vo['number']}</a></td>
    <td class="fn-tac">{$vo['company_number']}</td>
     <td class="fn-tac">{if $vo['overtime'] == '保内'}<span class="badge bg-blue">保内</span>{else}<span class="badge bg-red">过保</span>{/if}</td>
    <td class="fn-tac"><a title="查看维修详情" href="{url('service/reads',array(id=>$vo['id']))}">{$vo['imei']}</a></td>
    <td>{$vo['mobile_name']}</td>
    <td class="fn-tac">{$vo['outwarehouse_admin_name']}</td>
    <td class="fn-tac">{$vo['outwarehouse_ems_sn']}</td>
    <td>{$vo['outwarehouse_address']}</td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$vo['out_time'])}</td>
</tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','form','date','dialog',function(){ 
  $('#form').forms({types:'post'});
  $('.win').click(function(){$(this).win();});
})
</script>
